Image processing apparatus

ABSTRACT

An image processing apparatus comprises an input device for inputting an image data, a first converter circuit for converting the input image signal to an analog image output and a second converter circuit for converting the input image data to a digital image output. The first converter circuit controls the analog image output in accordance with the output of the second converter circuit. The second converter circuit produces different digital signals in accordance with the input image data and has a threshold matrix to be compared with the input image data.

This application is a division of application Ser. No. 08/326,343 filed Oct. 20, 1994, which is a continuation of application Ser. No. 07/833,649 filed Feb. 5, 1992, abandoned, which is a continuation of application Ser. No. 07/152,024 filed Feb. 3, 1988, abandoned, which is a division of Ser. No. 06/881,492 filed Jul. 1, 1986, now U.S. Pat. No. 4,783,837, which is a continuation of application Ser. No. 06/480,823 filed Mar. 31, 1983, abandoned.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an image processing apparatus for recording and displaying an image, and more particularly to improvement in the resolution and tonality of a half-toner image recorded or displayed by a laser beam printer or an ink jet printer.

2. Description of the Prior Art

Many methods to produce a half-tone image in a digital printer have been proposed. Examples thereof are a dizzer method and a density pattern method. These methods have been used in many fields for the reasons that:

(1) The half-tone image can be displayed by a digital display device,

(2) a hardware configuration of the apparatus is easy, and

(3) satisfactory image quality is attained.

Specifically, as shown in FIGS. 1A and 1B, each of picture cells 8 of an input image is compared with a corresponding one of elements of a threshold matrix 5 to determine if it is white or black by threshold comparison in order to selectively display dots on a display screen 6.

FIG. 1A illustrate the dither method in which each of the picture cells 8 of the input image corresponds to one element of the threshold matrix 5. FIG. 1B illustrates the density pattern method in which each of the picture cells 8 of the input image corresponds to all elements of the threshold matrix 5. Thus, in the density pattern method, each of the picture cells of the input image is displayed by a plurality of cells on the display screen 6.

A difference between the dither method and the density pattern method resides in that one picture cell of the input image corresponds to one element of the threshold matrix in the former method while it corresponds to all elements of the threshold matrix in the latter method, and it is not an essential difference. An intermediate method has also been proposed, in which one picture cell of the input image corresponds to a certain number (for example, 2×2=4 in FIG. 1B) of elements of the threshold matrix.

Accordingly, there is no essential difference between the density pattern method and the dizzer methods. The density pattern method and the intermediate method are hereinafter collectively referred to as the dither method. In such a dither method, the threshold matrix can be prepared in many methods. However, a method or apparatus for allowing a high quality of image output has not been proposed.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide an image processing apparatus which produces a high quality image output.

It is another object of the present invention to provide an image processing apparatus which enables recording or display of a stable half-tone image with high resolution and high tonality.

It is another object of the present invention to provide an image processing apparatus which reproduces a high quality half-tone image with a simple construction.

It is yet another object of the present invention to provide an image processing apparatus which can readily set any desired screen angle.

It is still another object of the present invention to provide an image processing apparatus which causes output dots to form a uniform lattice space.

It is still another object of the present invention to provide an image processing apparatus which can produce a variable magnification half-tone image with a simple construction.

It is a further object of the present invention to provide an image processing apparatus which produces a color image free from moire stripes.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A and 1B illustrate a dizzer method and a density pattern method,

FIG. 2 shows a schematic view of a color image recording apparatus to which the present invention is applicable,

FIG. 3 shows a schematic perspective view of a scanning optical system,

FIG. 4 shows a block diagram of a signal processing system of the present invention,

FIG. 5 shows a schematic perspective view of an input device,

FIG. 6 shows a CCD line sensor,

FIG. 7 shows another input device,

FIG. 8 illustrates masking process,

FIG. 9 shows a blackening circuit,

FIG. 10 shows a block diagram of a binarizing circuit and a ternarizing circuit,

FIGS. 11A-11D show threshold matrices,

FIG. 12 illustrates binary and ternary outputs,

FIG. 13 shows a timing chart for signals in FIG. 10,

FIGS. 14A and 14B illustrate basic cells,

FIG. 15 shows a density pattern of basic cells,

FIG. 16 shows a pattern in which basic cells are connected by density (1) in FIG. 15,

FIG. 17 shows a pattern produced when blacking dots are randomly produced,

FIG. 18 shows a pattern in which dots are uniformly arranged by the use of the threshold matrices (B) and (D),

FIG. 19 illustrates a γ-conversion,

FIG. 20 shows a matrix construction for a screen angle of 0 degrees,

FIGS. 21A and 21B show an 8×8 threshold matrix used for black,

FIGS. 22A and 22B show examples of black record dots,

FIGS. 23A and 23B show basic cells for yellow,

FIG. 24 shows superposition of dots of different colors having screen angles,

FIG. 25 shows an image reproduced with different screen angles for respective colors,

FIGS. 26A and 26B show basic cells in other embodiments,

FIGS. 27A-27C show dot patterns in other embodiments and,

FIGS. 28A, 28B, 29A and 29B show threshold matrises for producing the dot patterns shown in FIGS. 27A and 27B.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 2 shows a schematic view of a color image recording apparatus to which the present invention is applicable. In the color image recording apparatus of FIG. 2, color image information is produced by an electronic copying machine (laser beam printer) having a plurality of photosensitive drums, and images of different colors produced by the electronic copying machine are recorded in superposition with different colors sequentially.

In FIG. 2, numerals 1a-1d denote scanning optical systems. Desired image information is read from an image memory, not shown, and it is converted to light beams (laser beams) by the scanning optical systems and the light beams are focused onto photosensitive drums 2a-2d which correspond to cyan (C), magenta (M), yellow (Y) and black (Bl). Developing units 3a-3d are arranged close to the photosensitive drums 2a-2d, and chargers 4a-4d are arranged to face the photosensitive drums 2a-2d on a side of a conveyer belt 7 which conveys a record paper, not shown. In operation, the modulated light beams from the scanning optical systems 1a-1d are focused onto the photosensitive drums 2a-2d and the focused images are converted to electrostatic latent images by a subsequent electrophotographic process. The electrostatic latent images for the respective colors are developed by the developing units 3a-3d and the developed images are sequentially transferred to the record paper carried on the conveyer belt 7 of the chargers 4a-4d so that a color image is reproduced.

FIG. 3 shows a schematic perspective view of one of the four scanning optical systems 1a-1d shown in FIG. 2. The light beam modulated by a semiconductor laser 11 is collimated by a collimating lens 10 and deflected by a rotating polygon mirror 12. The deflected light beam is focused onto the photosensitive drum 3 by a focusing lens 13 called a fθ lens and the light beam is scanned in H direction (main scan direction). In the light beam scan, the light beam at the beginning of one-line scan is reflected by a mirror 14 and directed to a detector 15. A detection signal from the detector 15 is used as a synchronizing signal in the scan direction H (horizontal direction). This signal is hereinafter referred to as a BD signal or a horizontal synchronizing signal.

FIG. 4 shows a block diagram of a signal processing system of the present invention.

Color image signals for blue (B), green (G) and red (R) produced by an input device 20 are digitized by eight bits (256 levels), respectively. The input device 20 is shown in FIG. 5. A light is applied to a color original 30 from a light source 37, and a reflected light is transmitted to a CCD line sensor 32 through a mirror 36 and a lens 31. Thus, the image of the color original 30 is formed on the CCD line sensor 32 and read out with high resolution.

As shown in FIG. 6, the CCD line sensor 32 has 2048 sensors 33 arranged in three rows, and blue (B), green (G) and red (R) stripe filters 34B, 34G and 34R are bonded to the respective rows. The 8-bit picture cell data produced by the input device 20 represents a simultaneous three-color decomposition of the image data at one point on the original.

FIG. 7 shows another embodiment of the input device 20 used in the present invention. Dichroic filters 35a and 35b for three-color decomposition are arranged behind a lens 31 to decompose the light into three color components, and the images of the respective colors are directed to CCD line sensors 32a, 32b and 32c. With the device of FIG. 7, three-color decomposed image information for one point on the original is produced as a time-serial signal. Returning to FIG. 4, the blue (B), green (G) and red (R) 8-bit digital signals produced by the input device 20 are processed by a masking circuit. Each of the 8-bit image signals from the input device 20 is divided into a high order four-bit group and a low order four-bit group, and only the high order four bits are masked by the masking circuit 21 and the low order four bits are then combined with the high order four bits to produce an 8-bit data 22.

FIG. 8 illustrates the masking process. The high order four bits of the blue (B), green (G) and red (R) image signals are supplied to a ROM 40 as input address information. Assuming that the blue (B), green (G) and red (R) data are represented by hexadecimal numbers

B=9

G=A

R=E

BGR=9AE is regarded as one address and the information at that address of the ROM 40 is read out. Accordingly, the ROM 40 has 4×3=12-bit address. The output information from the ROM 20 also has 12 bits, four bits of which represent yellow (Y) data, four bits of which represent magenta (M) data and four bits of which represent cyan (C) data. Assuming that the output data for the input address of 9AE is 357, data of

Y=3

M=5

C=7

are produced. The ROM 40 stores all possible values for blue (B), green (G) and red (R).

Since four bits are allocated to each of blue (B), green (G) and red (R), 12-bit data are stored in 12-bit address area (2¹² ≈4K). Thus, the memory capacity may be small. In this manner, high fidelity color reproduction is attained by the masking process with small memory capacity. The data conversion (content of ROM 40) by the masking process is experimentally determined in accordance with a chrominance characteristic of the recording apparatus and a chrominance characteristic of the input device. The masked yellow (Y), magenta (M) and cyan (C) four-bit data are combined with the separated low order four-bit data to reproduce the 8-bit image data. That is, the non-processed blue (B), green (G) and red (R) low order four-bit data are added to the masked yellow (Y), magneta (M) and cyan (C) four-bit data.

The above masking process is a kind of blocking process for color conversion. The masking for only the high order four bits of the 8-bit image signal means the color conversion in 16 levels, and the addition of the low order four bits means subdivision of the respective level data into 16 levels.

Thus, the masked data can be further subdivided and the tonality of the image is improved.

A blackening circuit 23 of FIG. 4 is now explained with reference to FIG. 9. The masked 8-bit image data is processed by the blackening circuit 23 of FIG. 9. (The low order four-bits are converted to the Y, M and C data.) The blackening circuit 23 converts the masked yellow (Y), magenta (M) and cyan (C) 8-bit data in the following manner.

    Y←Y-α·min (Y, M, C)

    Y←M-α·min (Y, M, C)

    C←C-α·min (Y, M, C)

    B1←min (Y, M, C)

It compares the yellow (Y), magenta (M) and cyan (C) 8-bit input data for each picture cell to determine a minimum value

    min (Y, M, C)

and sets a block (Bl) level to the minimum value, and substracts α times (0<α≦1) of the black (Bl) level from the yellow (Y), magenta (M) and cyan (C) values. The coefficient α is experimentally determined. The low order four-bits for the respective colors produced by the input device may be inverted by hardware inverters to convert them to complementary color data.

FIG. 10 shows a detail of a binarizer/ternarizer circuit 24 of FIG. 4. For the sake of simplification, the circuit for only one color is explained.

An image data 41 for one color (8-bits) of yellow (Y), magenta (M), cyane (C) and black (Bl) is supplied to a comparator 42, a comparator 44a for binarization (white and black) and a comparator 44b for ternarization (white and gray). Those comparators may be constructed by 8-bit transistor-transistor logic circuits (TTL's) such as SN74LS684. Data threshold values) of the threshold matrix are stored in a ROM 45a and a ROM 45b. Those ROM's are hereinafter referred to as the binarizing ROM 45a and the ternarizing ROM 45b.

The data of the binarizing ROM 45a and the ternarizing ROM 45b are read out in synchronism with the counting by decimal counters 49 and 50. The decimal counters 49 and 50 count a picture cell clock 46 and a BD signal 48, respectively, and sequentially access horizontal addresses and vertical addresses of the threshold matrices through address lines 47a and 47b, respectively, to read out the data. The threshold matrices are of 10×10 construction as shown in FIGS. 11A-11D. A horizontal (main scan) direction of the threshold matrix is represented by H-direction and a vertical (sub-scan) direction is represented by V-direction. The decimal counter 49 determines the H-direction address of the threshold matrix in synchronism with the picture cell clock 46. The decimal counter 50 determines the V-direction address of the threshold matrix in synchronism with the BD signal 48. The decimal counters 49 and 50 each may be constructed by a single conventional TTL such as SN74190.

The binarizing ROM 45a contains two types of threshold matrices as shown in FIGS. 11A and 11B. Similarly, the ternarizing ROM 45d contains two types of threshold matrices as shown in FIGS. 11C and 11D. The binarizing ROM 45a determines white and black levels and the ternarizing ROM 45b determines white and gray levels. The numerals in the threshold matrices represent the threshold levels in decimal numbers. One of the threshold matrices (A) and (B) and one of the threshold matrices (C) and (D) is selected by the input image data 41.

The comparator 42 of FIG. 10 compares the input image data 41 with a preset data 43, and if the input image data 41≧the preset data 43, it supplies a "1" output to the binarizing ROM 45a and the ternarizing ROM 45b so that the input data 41 is compared with the matrices (A) and (C).

If the input image data 41<the preset data 43, the comparator 42 produces a "0" output and the input image data 41 is compared with the matrices (B) and (D). Assuming that the preset data is "4", the values 0-3 of the input image data 41 are compared with the matrices (B) and (D), and the values equal to or larger than four are compared with the matrices (A) and (C). This can be attained by imparting the output of the comparator 42 of FIG. 10 as the high order addresses of the ROM 45a and the ROM 45b. Since each of the outputs of the decimal counters 49 and 50 has four bits, light bits (bits 0-7) are used to scan the H-direction and V-direction addresses of the matrices. Thus, one bit is added to the high order address bit to select one of the matrices (A) and (B) and one of the matrices (C) and (D). Thus, the bits 0-7 of the ROM address are used for address specification and the bit 8 is used for matrix selection.

Thus, since the threshold matrices for comparison are selected in accordance with the density level of the input image data, a high quality output image can be produced.

If the density level of the input image data is low, the unevenness of dots is obstructive unless the output image dot pattern is uniform. In the present embodiment, since the matrices (B) and (D) are selected when the density level is low, a uniform dot pattern is produced.

FIG. 12 illustrates binary and ternary outputs. Numeral (2) in FIG. 12 denotes an output of one picture cell width, FIG. 12A shows a distance of movement of a recording light spot, FIG. 12B shows a width of a modulating pulse for the laser beam and FIG. 12C shows a resulting light intensity distribution. The ternary output in the present invention is produced by pulse width modulation of one-half picture cell width of the laser beam shown by (1) in FIG. 12. As seen from FIG. 12C, the ternary output of the one-half picture cell width is intensity-modulated resulting in variation of peak intensity in accordance with a light spot diameter. As a result, the ternary output provides an intermediate density (gray level). By way of example, in the binary output, the light spot diameter is approximately 50 μm at a 1/e² intensity point of the peak intensity and the light spot diameter in the ternary output is 25 μm.

The ternary output by the pulse width has the following advantages.

1) Intensity of the laser beam emitted may be fixed.

2) A stable peak intensity is attained by the stable pulse width.

3) Pulse width can be readily modulated.

The hardware configuration for the ternary output is shown in FIG. 10. The output from the comparator 44b for the ternary output is ANDed with the picture cell clock 46 by an AND circuit 51 and the output of the AND circuit 51 is ORed with the output of the comparator 44a for the binary output by an OR circuit 52. Accordingly, when the binary and ternary outputs are simultaneously produced, the binary output is selected. The ternary output (gray) is selected only when the binary output is at a low level and the ternary output is at a high level.

FIG. 13 shows a timing chart therefor. The ternary output S2 is produced from the comparator 44b in synchronism with the picture cell clock 46 shown by S1. The output S2 and the picture cell clock 46 (S1) are ANDed by the AND circuit to produce the ternary output signal S3 of the one-half picture cell width. If the binary signal shown by S4 is produced, the ternary output and the binary output are ORed to produce the final output signal S5.

In this manner, smooth tonality is attained by the pulse width modulated ternary output.

While the binarization and the ternarization have been explained in the present embodiment, an image of excellent tonality can be reproduced by tetrarization or multi-value processing.

The present invention is not limited to the pulse width modulator since other analog half-tone reproduction methods such as beam intensity modulation may be used to reproduce the half-tone image.

The contents of the threshold matrices of FIG. 11 are next explained.

FIG. 14A shows an aggregation of basic cells of the threshold matrix. The aggregation of five cross-shaped basic cells forms one unit. Each basic cell comprises 20 elements as shown in FIG. 14B. By sequentially blacking the elements of the basic cell the density is represented as shown in FIG. 15. The term basic cell herein used means a pattern of threshold values. The threshold values may differ from basic cell to basic cell.

The five basic cells can be regarded as the threshold matrices of FIG. 11 or 10×10 square matrices by moving in parallel selected ones of the basic cells. Thus, the aggregation of the basic cells of FIG. 14A can be regarded as the 10×10 threshold matrix.

In FIG. 14A, lines connecting corresponding ones of the elements of the five basic cells 1-5 are inclined lines and angle of inclination is 26.6 degrees. In FIG. 16, the basic cells are represented by the density of FIG. 15 (1) and connected together.

The angle of inclination constitutes a screen angle to prevent moire when the color image is outputted. By repetitively connecting the 10×10 threshold matrices (aggregations of the basic cells), a continuous screen angle is attained. The 10×10 threshold matrix has 100 elements (thresholds) and 101 different dots 0-100 by binary data and 202 different dots by ternary data can be produced. In FIG. 15, the black area of the basic cell is gradually increased. This method is called a Fatting method. The threshold matrix of FIG. 11 is blackened by the Fatting method in the following manner when the threshold is equal to or higher than 10. The basic cells 1 and 4 produce the gray level (ternary) and black level (binary) outputs. The basic cells 2 and 3 produce the ternary output and the binary output, respectively. Then, the basic cell 5 produces the binary output.

The reason for adopting the above method are:

1. When the basic cells 1-5 are constructed as shown in FIG. 15 with the same threshold, the number of tones is up to 20. By imparting different thresholds to the basic cells 1-5, the tonality is enhanced. A unit of the resolution when viewed as grid points is one basic cell but a unit of the tonality comprises five basic cells (approximately 100 tones).

2. When the basic cells are sequentially blackened, one element at a time, in the order of 1, 4, 2, 3 and 5, the added blackened cell appears at a course pitch and it is obstructive. By blackening the elements in three groups, the basic cells 1 and 4, the basic cells 2 and 3 and the basic cell 5, the pitch of the grid points is reduced to one half and the dots are not obstructive.

3. Because the ternary output is used, the gradient of the blackening of the basic cells is gentle.

When the density data corresponding to the threshold 4 is supplied, uniform dot patterns can be produced with ternary output. For the thresholds 5-9, the basic cells are blackened one element at a time. In order to enhance the tonality to a relatively bright portion of the image, the blackening is effected finely.

The reason for grouping the threshold matrices into (A) and (B), and (C) and (D) is explained below. When only the matrix (A) or (C) is used, the black dots for the first several tones appear randomly as shown in FIG. 17. FIG. 17 shows a pattern when one dot of each of the basic cells 1 and 4 of the aggregation of basic cells of FIG. 14A is blackened. The dot arrangement is random until all of the basic cells 1-5 have been blackened. When such a pattern is developed by the electrophotographing, nonuniformity of density occurs at an area in which dot pitch spatially changes and the tonality is distorted. When an image of a low input density level is to be reproduced by an ink jet printer, the nonuniformity of the recorded dot array is obstructive. Accordingly, it is desirable to form the dots at a uniform density. To this end use of, the matrix (A) or (C) only is not sufficient.

By the reason described above, the matrix (B) or (D) is provided.

FIGS. 11B and 11D show the threshold matrices which are used for the first several tones. The thresholds 1, 2 and 3 of FIGS. 11B and 11D are arranged to construct the dots at a uniform density. The data of the density 3, for example, is compared with the preset data 43 by the comparator 42 as shown in FIG. 10. Assuming that the preset data is "4", the data of the density 3 is compared with the matrices (B) and (D). FIG. 18 shows an output pattern of the density 3 when the matrices (B) and (D) are selected. It differs from FIG. 17 in that the dots are uniformly arranged. By appropriately setting the data 43, the matrices (B) and (D) are selected so that the dots are arranged at the uniform density even if the density level of the image is low.

In this manner, the random arrangement of the dots which appears in the first several tones can be eliminated by switching the matrices.

The data of the threshold matrix of FIG. 11 is up to 100. In FIG. 11A, if the image is of very high density, the matrices include five 100 data and five dots are blackened. This is done by the same reason as that for eliminating the nonuniformity of the dot density in the beginning stage. That is, nonuniformity of white area (called white dots) surrounded by black dots is prevented, and reduction of the area of the white dots or reduction of density change due to protrusion of a large recording spot when one dot is blackened is prevented.

In this manner, approximately 100 tones (levels 0-100) of dot configuration are attained.

The yellow (Y, magenta (M), cyan (C) and black (Bl) input data to the binarizer circuit 24 of FIG. 24 are 8-bit data, respectively, and have 256 tones, respectively. FIG. 19 illustrates a γ-conversion method for converting the 256 levels of image input to 100 levels.

In FIG. 19, the abscissa represents the contents of the elements of the threshold matrices shown in FIG. 11 and the ordinate represents values which can be represented by the 8-bit image data (that is, OO-FF in hexadecimal number or 256 levels). By determining an appropriate curve 60 for executing the γ-conversion (depending on a particular device used), the relation between the image data and the threshold level is determined. It is necessary to update the data of the respective elements of the threshold matrices of FIG. 11 in accordance with the curve 60 of FIG. 19. By the γ-conversion appropriate values are set to the elements (thresholds) of the threshold matrices.

The screen angle for preventing moire for the respective colors is now explained. As described above, by constructing the threshold matrix, as shown in FIG. 11, the screen angle is 26.6 degrees. This is done only for one color (for example, magenta).

The threshold matrix for cyan (C) is constructed by rotating the threshold matrix of FIG. 11 by 90 degrees. That is, the H-direction and the V-direction of the threshold matrix are exchanged. As a result, the screen angle of 26.6 degrees for magenta is changed to the screen angle of 63.4 degrees. The threshold matrix for black (Bl) is next explained. It is assumed that the black (Bl) output is to have the screen angle of 0 degree. FIG. 20 shows a construction thereof. In FIG. 20, a 10×10 square matrix is divided by four and resulting 5×5 square matrices are used as basic cells, because there is no need for forming the screen angle as the screen angle is 0 degrees. For the basic cell (5×5 square matrix), the thresholds are determined in the same manner as that for the threshold matrix of FIG. 11 (Fatting method). Because the screen angle is 0 degrees, a smaller 8×8 matrix may be used instead of the 10×10 matrix. This is explained below. In FIG. 21, the black (Bl) is constructed by an 8×8 threshold matrix. The 8×8 matrix has a shorter dot pitch of the grid points than the 10×10 matrix. As a result, the resolution power is improved. FIG. 21A shows the threshold matrix for the ternary output and FIG. 21B shows the threshold matrix for the binary output. For the black (Bl), the 8×8 threshold matrix is used and 65 levels (levels 0-64) of black dots can be represented, The tonality is lower than that of the cyan (C) or magenta (M) because the resolution power is emphasized. It is better for the black (Bl). As shown in FIG. 19, the 8-bit input data (256 levels) is γ-converted to 65 levels. FIG. 22 shows an example of black output dots. FIG. 22A shows an initial stage in which two basic cells are blackened, and in FIG. 22B, four basic cells are blackened.

As seen from FIG. 22, the dot pitch is constant and the dots of uniform density can be produced. Accordingly, the nonuniformity of density and the disturbance of tonality are prevented.

The threshold matrix for yellow (Y) is next explained. The yellow (Y) is outputted at the screen angle of 45 degrees. The yellow record is hard to be noticed and hard to be the subject of moire. Accordingly, no problem arises although an angle difference from cyan (C) or magenta (M) is 18.4 degrees. The screen angle may even be 0 degrees in some cases. The thresholds of the basic cells for yellow (Y) are determined in the same manner as that for the threshold matrix of FIG. 11 (Fatting method). FIGS. 23A and 23B show the basic cells for yellow (Y) in the 8×8 matrix and the 10×10 matrix, respectively. For the yellow (Y), the tonality is important but the resolution is not so important. Accordingly, when the matrix is of 8×8 size, each of the basic cells comprises 32 dots, and when the matrix is of 10×10 size, each of the basic cells comprises 50 dots. The ternarization and the γ-conversion can be done, as is done for other color. In the electrophotography, the tonality is hard to attain as the grid pitch is reduced.

Accordingly, it is desirable that the small basic cell which emphasizes the resolution is used for black (Bl) and the large basic cell which emphasizes the tonality is used for yellow (Y). The present invention is constructed in this manner.

FIG. 24 illustrates superposition of dots of different colors having screen angles. For magenta (M) and cyan (C), the 10×10 matrices are used, and for black (Bl) the 8×8 matrix is used. The yellow (Y) dots are not shown because of little influence. In FIG. 24, the screen angle for magenta (M) is 26.6 degrees, the screen angle for cyan (C) is 63.4 degrees and the screen angle for black (Bl) is 0 degrees. The screen angle for yellow (Y) is shown by a broken line and it is 45 degrees. By imparting different screen angles to the respective colors, an unnatural stripe pattern is prevented.

FIG. 25 shows a reproduced image when different screen angles are imparted to the respective colors since the moire frequency is shifted to a high frequency band, the unnatural stripe pattern does not appear. It was confirmed that, by setting the screen angles for the respective colors to those described above, the unnatural stripe pattern does not appear even if a paper is skewed and the screen angles for the respective colors are slightly varied. The present invention is not limited to the above embodiment but also applicable to other colors (for example, only black and gray).

Another embodiment of the present invention is explained below.

FIG. 26A shows a 12×12 threshold matrix which comprises 10 basic cells (cells 1-10). The basic cells of FIG. 26A are of special shape and different from that of the basic cells described before. The shapes of the basic cells are different and the number of dots contained in the basic cell is 14 or 15. This does not post a problem in a recorded state. The matrix has the screen angle of 18.4 degrees. When the matrix is used for cyan (C), for example, the matrix includes three types of dot patterns (A), (B) and (C), as shown in FIG. 27.

FIGS. 28 and 29 show threshold matrices for producing the output dot patterns (A) and (B) of FIG. 27. The threshold level in a blank area is a maximum level. FIGS. 28A and 29A show the threshold matrices for the ternary output and FIGS. 28B and 29B show the threshold matrices for the binary output. The threshold matrices of FIGS. 28A and 28B are allotted to the input data 0-7, and threshold matrices of FIGS. 29A and 29B are allotted to the input data 8-11. A threshold matrix (not shown) having a center nuclear elements (an element which is first blackened in the basic cell) in the output dot pattern of FIG. 27(C) and having a density pattern thereof constructed by the Fatting method is allotted to the input data of no smaller than 12. For magenta (M), the threshold matrix is rotated by 90 degrees as described above. For yellow (Y), the 12×12 matrix as shown in FIG. 26B is used. In this case, the Fatting method is used, and by setting the center of each basic cell to a minimum threshold level, the screen angle of 45 degrees is obtained. For black (Bl), the threshold matrix having the screen angle of 0 degrees is used as described above. In the present embodiment, two threshold matrices are used for the density data of 0-11 in order to reproduce an image of low density level (bright). According to the present embodiment, like the previous embodiment, the dots are arranged in a uniform density and a high quality of image is reproduced. A hardware configuration of the present embodiment slightly differs from that of the previous embodiment. The counters 49 and 50 in FIG. 10 are modified to bidecimal counters. For black (Bl), an octel or decimal counter is used.

Two comparators 42 are necessary in order to select one of three threshold matrices for the input levels of 0-7, 8-11 and 12 or higher. Thus, two bits are used to select the threshold matrix. Two bits are necessary for the input address to the ROM's 45a and 45b.

The ternarizing and binarizing circuits of the present invention have thus been described. By supplying the outputs of the binarizing and ternarizing circuits directly to the output device 25 as shown in FIG. 4, a high quality of color image sample is reproduced. When the speed of the input device and the output device are different or the output timing significantly shifts, four memories for yellow (Y), magenta (M), cyan (C) and black (Bl) are used instead of the output device 25. When the dither method as shown in FIG. 1A is used, the 8 bits per picture cell information is stored in the memory as a dot pattern compressed to one bit by the processing circuit of the present invention. The output of the memory is supplied to the color printer of FIG. 2.

The enlargement and the reduction of the image in accordance with the present invention are now explained.

In FIG. 4, the input device 20, the masking circuit 21, the blackening circuit 23, the binarizer/ternarizer circuit 24 and the output device 25 are operated in synchronism with the picture cell clock 46. The output device 25 supplies the horizontal synchronizing signal (BD signal) 48 to the input device 20 and the binarizer/ternarizer circuit 24. Accordingly, the horizontal (H-direction) and vertical (V-direction) outputs of the image are switched in synchronism with the picture cell clock 46 and the horizontal synchronizing signal (BD signal) 48, respectively. By the arrangement of FIG. 4, the signal processing circuit is simplified and it can be readily implemented by firmware. Accordingly, a sequence of signals can be processed at high speed on real time basis. The one-to-N frequency divider 27 and the one-to-M frequency divider 28 are provided to frequency divide the frequencies of the picture cell clock 46 and the horizontal synchronizing signal 48 by the factors of N and M, respectively.

Accordingly, the clock period is multiplied by N and the horizontal synchronizing signal period is multiplied by M. The input device 20 produces the picture cells of the input image in synchronism with the 1/N picture cell clock 46 and the 1/M horizontal synchronizing signal 48.

Assuming that N=M=4, the picture cell clock of the period multiplied by four and the horizontal synchronizing signal of the period multiplied by four are applied to the input device 20 so that the input device 20 produces the image data at one-quarter speed.

Since the other circuits are operated at the normal speed, the output device 25 produces 4×4 picture cells M data while the input device 20 produces one picture cell of data, assuming that the input device 20 reads the same line four times repetitively.

When N=M=1, the output device 25 produces one picture cell of data while the input device 20 produces one picture cell of data. Accordingly, the dither method shown in FIG. 1A is carried out,

Thus, for a given size of the picture cells produced by the input device 20, an image horizontally magnified by a factor of N and vertically magnified by a factor of M is produced. Since the dot pattern recorded is constant, the dots are not coarsened by the enlargement. As a result, a high quality of enlarged or reduced image can be readily produced.

In the present invention, the 8-bit input image data is used by way of example and the data may be determined depending on the characteristics of the input device and the output device. While the output device described is of electrophotographic type which modulates the semiconductor laser beam, an ink jet printer, a thermal transfer printer or an electrostatic printer also may be used. In this case, the ternary pulse width output is supplied in the sub-scan direction. The present invention is not limited to the constructions shown in FIGS. 4 and 10 but any other signal processing circuit may be used as long as the principal means of the signal processing is maintained.

As described hereinabove, the present invention provides the image processing apparatus which produces a high resolution and high tonality image output.

The present invention is not limited to the above embodiments but various modifications can be made within the scope defined in the appended claims. 

What we claim is:
 1. A color image recording apparatus comprising:generating means for generating a color image signal; record means for recording a color image; supply means for supplying a control signal according to a variable magnification to said generating means, wherein said generating means generates a color image signal according to a variable magnification on the basis of the control signal supplied by said supply means; first conversion means for converting the color image signal generated in accordance with a variable magnification by said generating means into a record color image signal adaptable for said record means; and second conversion means for converting the record color image signal from said first conversion means into a dot color image signal according to a density level of the record color image signal to supply the dot color image signal to said record means,wherein said record means records a color image on the basis of the dot color image signal supplied by said second conversion means, and wherein said first and second conversion means perform a conversion operation in synchronism with a clock signal that is independent of a variable magnification, and in synchronism with a recording operation of said record means.
 2. An apparatus according to claim 1, wherein said second conversion means produces a dot color image signal in which the number of dots corresponds to a density level of the record color image signal from said first conversion means.
 3. An apparatus according to claim 1, wherein said second conversion means produces a dot color image signal in which dot width corresponds to a density level of the record color image signal from said first conversion means.
 4. An apparatus according to claim 1, wherein said second conversion means includes comparing means for comparing the record color image signal from said first conversion means with a predetermined threshold, and said second conversion means produces a dot color image signal in accordance with a comparison result of said comparing means.
 5. An apparatus according to claim 4, wherein said second conversion means includes a threshold matrix having a plurality of thresholds to be compared by said comparing means.
 6. An apparatus according to claim 1, wherein said first conversion means converts R-, G- and B-signals generated by said generating means into Y-, M- and C-signals.
 7. An apparatus according to claim 1, wherein said first conversion means converts the color image signal generated by said generating means into a record color image signal in accordance with characteristics of said record means.
 8. An apparatus according to claim 1, wherein said generating means generates a color image signal by photo-electrically converting an original image in accordance with a variable magnification.
 9. An apparatus according to claim 1, wherein said record means comprises a laser beam printer. 